-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Upgrade Parcel and replace cssnano with Parcel CSS #2776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Build successful! 🎉 |
I'll run chromatic on this a little later. If anyone else wants to, run it on main first, then run it here |
Chromatic won't be helpful as this only affects the docs. |
acht, yep, well, we could run the docs differ then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran docs differ and shared all relevant data with Devon. No changes needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks fine to me.
I'm curious about the scripts where you removed the cssnano.config.js and didn't add anything else.
how did the CSS size turn out? |
281da4b
Build successful! 🎉 |
Before:
After:
|
Upgrades Parcel to 2.2.1, and replaces
cssnano
with@parcel/css
, the new CSS minifier we've been working on. This will be the default in Parcel soon, but I'd like to try it out. Eventually, we will also replace PostCSS. I have a POC for that, but it will be done separately.